package cn.psh.feignclient;


import cn.psh.AjaxResult;
import cn.psh.domain.Product;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "store-server")
public interface PFeiginClient {

    @PostMapping("/store")
    AjaxResult getById(@RequestBody Product product);

}
